package com.student.Activitys.utils;

/**
 * 全局常量工具类 on 2017/9/18.
 */
public class Constant {

    /**
     *  网络请求 url
     */
    //端口 url
    public static final String HTTP_URL= "http://192.168.0.108:8070";
    //数据 接口 入口
    public static final String HTTP_URL_INTERFACE = "/Interface/";
    //WEB  页面 入口
    public static final String HTTP_URL_WEB = "/APP_Web_View/";


    /**
     * RecyleView 数据加载 状态 key
     */
    //首次加载数据
    public static final int FIRST_LOAD = 3;
    //下拉刷新
    public static final int PULL_DOWN_TO_REFRESH = 4;
    //上拉加载更多
    public static final int PULLUP_LOAD_MORE = 0;
    //正在加载中
    public static final int LOADING_MORE     = 1;
    //没有加载更多 隐藏
    public static final int NO_LOAD_MORE     = 2;


    /***
     * 用户信息存储Key
     */
    //用户实体
    public static final String USER= "user";
    //用户身份
    public static final String USER_IDENTITY= "user_identity";
    //用户头像
    public static final String USER_ICON= "user_icon";
    //用户学号
    public static final String USER_XH= "user_xh";

    /**
     *  图片裁剪 key
     */
    //图片资源
    public static final int REQUEST_IMAGE = 2;
    //文件权限
    public static final int REQUEST_EXTERNAL_STORAGE = 1;
    //镜面水平翻转
    public static final int LEVEL_FLIP = 0;
    //镜面垂直翻转
    public static final int VERTICAL_FLIP = 1;

    /**
     * AndroidEventBus 传递消息 key
     */

    //登陆 加载完成
    public static final String BUS_LOGIN_ON_COMPLETED= "loginOnCompleted";
    //登陆 解析完成
    public static final String BUS_LOGIN= "login";


    //我的 我的奖惩申请列表 加载完成
    public static final String BUS_MY_SUPPORT_APPLY_ON_COMPLETED= "supportMyApplyOnCompleted";
    //我的 我的奖惩申请列表 解析完成
    public static final String BUS_MY_SUPPORT_APPLY_LIST= "supportMyApplyList";
    //我的 我的奖惩申请列表 上拉加载
    public static final String BUS_MY_SUPPORT_APPLY_FOOT_NOTICE= "supportMyApplyFoot";

    //我的 我的头像上传 加载完成
    public static final String BUS_MY_ICON_UPLOAD_ON_COMPLETED= "myIconUploadOnCompleted";
    //我的 我的头像上传 解析完成
    public static final String BUS_MY_ICON_UPLOAD= "myIconUpload";

    //首页 轮播图 加载完成
    public static final String BUS_HOME_CAROUSEL_ON_COMPLETED= "carouselOnCompleted";
    //首页 轮播图 解析完成
    public static final String BUS_HOME_CAROUSEL_LIST= "carouselList";

    //首页 通知公告 加载完成
    public static final String BUS_HOME_NOTICE_ON_COMPLETED= "noticeOnCompleted";
    //首页 通知公告 解析完成
    public static final String BUS_HOME_NOTICE= "notice";

    //首页 学院概况 加载完成
    public static final String BUS_HOME_COLLEGE_SURVEY_ON_COMPLETED= "collegeSurveyOnCompleted";
    //首页 学院概况 解析完成
    public static final String BUS_HOME_COLLEGE_SURVEY= "collegeSurvey";

    //首页 校内动态 加载完成
    public static final String BUS_HOME_DYNAMIC_ON_COMPLETED= "dynamicOnCompleted";
    //首页 校内动态 解析完成
    public static final String BUS_HOME_DYNAMIC_NOTICE= "dynamic";
    //首页 校内动态 上拉加载
    public static final String BUS_HOME_DYNAMIC_FOOT_NOTICE= "dynamicFoot";

    //首页 阶段评价 列表 加载完成
    public static final String BUS_STAGE_SEE_ON_COMPLETED= "stageSeeOnCompleted";
    //首页 阶段评价 列表 解析完成
    public static final String BUS_STAGE_SEE_STAGE= "stageSee";

    //首页 阶段评价（初始化内容） 加载完成
    public static final String BUS_HOME_STAGE_LOAD_ON_COMPLETED= "stageLoadOnCompleted";
    //首页 阶段评价（初始化内容） 解析完成
    public static final String BUS_HOME_STAGE_LOAD= "stageLoad";
    //首页 阶段评价 数据提交 加载完成
    public static final String BUS_STAGE_SUBMIT_ON_COMPLETED= "stageEvaluateSubmitOnCompleted";
    //首页 阶段评价 数据提交 解析完成
    public static final String BUS_STAGE_SUBMIT_STAGE= "stageSubmitEvaluate";
    //首页 阶段评价 详情 加载完成
    public static final String BUS_STAGE_SEE_DETAILS_ON_COMPLETED= "stageSeeDetailsOnCompleted";
    //首页 阶段评价 详情 解析完成
    public static final String BUS_STAGE_SEE_DETAILS_STAGE= "stageSeeDetails";

    //首页：签到信息 加载完成
    public static final String BUS_HOME_SIGN_MSG_ON_COMPLETED= "signMsgOnCompleted";
    //首页：签到信息 解析完成
    public static final String BUS_HOME_SIGN_MSG= "signMsg";

    //首页：签到 加载完成
    public static final String BUS_HOME_SIGN_ON_COMPLETED= "signOnCompleted";
    //首页：签到 解析完成
    public static final String BUS_HOME_SIGN= "sign";

    //奖惩 奖惩列表 加载完成
    public static final String BUS_SUPPORT_LIST_ON_COMPLETED= "supportListOnCompleted";
    //奖惩 奖惩列表 解析完成
    public static final String BUS_SUPPORT_LIST_NOTICE= "supportList";
    //奖惩 奖惩列表 上拉加载
    public static final String BUS_SUPPORT_LIST_FOOT_NOTICE= "supportListFoot";

    //奖惩 提交申请 加载完成
    public static final String BUS_SUPPORT_SUBMIT_ON_COMPLETED= "supportSubmitOnCompleted";
    //奖惩 提交申请 解析完成
    public static final String BUS_SUPPORT_SUBMIT= "supportSubmit";

    //思政 提交申请 加载完成
    public static final String BUS_PARTY_SUBMIT_ON_COMPLETED= "partySubmitOnCompleted";
    //思政 提交申请 解析完成
    public static final String BUS_PARTY_SUBMIT= "partySubmit";

    //思政 我的入党申请 加载完成
    public static final String BUS_PARTY_APPLY_MY_ON_COMPLETED= "partyApplyMyOnCompleted";
    //思政 我的入党申请 解析完成
    public static final String BUS_PARTY_APPLY_MY= "partyApplyMy";

    //日课表 数据 加载完成
    public static final String BUS_DAY_SCHEDULE_ON_COMPLETED= "scheduleDayListOnCompleted";
    //日课表 数据 解析完成
    public static final String BUS_DAY_SCHEDULE_LIST= "scheduleDayList";

    //日课表 请假申请 数据 加载完成
    public static final String BUS_DAY_LEAVE_ON_COMPLETED= "dayLeaveOnCompleted";
    //日课表 请假申请 数据 解析完成
    public static final String BUS_DAY_LEAVE_LIST= "dayLeaveList";

    //日课表 请假详情 数据 加载完成
    public static final String BUS_DAY_LEAVE_DETAILS_ON_COMPLETED= "dayLeaveDetailsOnCompleted";
    //日课表 请假详情 数据 解析完成
    public static final String BUS_DAY_LEAVE_DETAILS_LIST= "dayLeaveDetailsList";

    //日课表 随堂评价 检测 数据 加载完成
    public static final String BUS_EVALUATE_TESTING_ON_COMPLETED= "evaluateTestingDetailsOnCompleted";
    //日课表 随堂评价 检测 数据 解析完成
    public static final String BUS_EVALUATE_TESTING_DETAILS_LIST= "evaluateTestingDetailsList";

    //日课表 随堂评价 提交 数据 加载完成
    public static final String BUS_EVALUATE_ON_COMPLETED= "evaluateDetailsOnCompleted";
    //日课表 随堂评价 提交 数据 解析完成
    public static final String BUS_EVALUATE_DETAILS_LIST= "evaluateDetailsList";

    //首页：签到 加载完成
    public static final String BUS_DAY_SCHEDULE_SIGN_ON_COMPLETED= "dayScheduleSignOnCompleted";
    //首页：签到 解析完成
    public static final String BUS_DAY_SCHEDULE_SIGN= "dayScheduleSign";

    //周课表 数据 加载完成
    public static final String BUS_WEEK_SCHEDULE_ON_COMPLETED= "scheduleListOnCompleted";
    //周课表 数据 解析完成
    public static final String BUS_WEEK_SCHEDULE_LIST= "scheduleList";

    //周课表对应的日期 数据 加载完成
    public static final String BUS_WEEK_DATE_SCHEDULE_ON_COMPLETED= "scheduleWeekDateListOnCompleted";
    //周课表对应的日期 数据 解析完成
    public static final String BUS_WEEK_DATE_SCHEDULE_LIST= "scheduleWeekDateList";


    /**
     *
     * Http 请求接口 后台（action）方法 Key  固定不变
     *
     */
    //登陆
    public static final String HTTP_LOGIN_ACTION= "LogIn";


    //我的 我的奖惩申请列表
    public static final String HTTP_MY_SUPPORT_APPLY_ACTION= "LoadMy_JCZZ_Apply_Info";


    //首页 轮播图
    public static final String HTTP_HOME_CAROUSEL_ACTION= "GetBanner";
    //首页 通知公告
    public static final String HTTP_HOME_NOTICE_ACTION= "GetNew_TZGG";
    //首页 校内动态
    public static final String HTTP_HOME_DYNAMIC_ACTION= "GetTxtAndPicInfo";
    //首页 阶段评价 列表
    public static final String HTTP_HOME_STAGE_SEE_ACTION= "AppClick_JDPJ";
    //首页 阶段评价 刷新当前页面（星星）
    public static final String HTTP_HOME_STAGE_SEE_LOAD_ACTION= "GetPJWd";
    //首页 获取 签到信息
    public static final String HTTP_HOME_SIGN_MSG_ACTION= "GetIndex_QD_Info";
    //首页 签到
    public static final String HTTP_HOME_SIGN_ACTION= "StuClickQD";
    //首页 学院概况
    public static final String HTTP_HOME_COLLEGE_SURVEY_ACTION= "GetNativeBtn";


    //奖惩 奖惩列表
    public static final String HTTP_SUPPORT_LIST_ACTION= "Get_JCZZ_Info";
    //奖惩 奖惩申请
    public static final String HTTP_SUPPORT_SUBMIT_ACTION= "apply_JCZZ";

    //思政 团·党建信息 列表
    public static final String HTTP_PARTY_MSG_ACTION= "Load_SZ_DJ_TJ_Info";
    //思政 入党申请
    public static final String HTTP_SUPPORT_APPLY_ACTION= "Submit_RDSQ";
    //思政 入党申请 列表
    public static final String HTTP_SUPPORT_MY_APPLY_ACTION= "LoadWDRDSQ_Info";

    //日课表
    public static final String HTTP_DAY_SCHEDULE_ACTION= "LoadStuDayTable";
    //日课表 请假申请
    public static final String HTTP_DAY_LEAVE_ACTION= "Submit_QJ_Info";
    //日课表 请假详情
    public static final String HTTP_DAY_LEAVE_DETAILS= "Day_Table_load_QJ_Detial_Info";
    //日课表 评价检测
    public static final String HTTP_EVALUATE_TESTING_ACTION= "ISCan_PJ_JS";
    //日课表 评价提交
    public static final String HTTP_EVALUATE_ACTION= "Stu_Submit_PJ_Info";
    //周课表
    public static final String HTTP_WEEK_SCHEDULE_ACTION= "LoadStuWeekTable";
    //周课表对应的日期
    public static final String HTTP_WEEK_DATE_SCHEDULE_ACTION= "GetDateOfWeekTable";


    /**
     * 状态栏 key
     */
    // 白色
    public static  final String STATUS_WHITE = "white";
    // 默认主题颜色
    public static  final String STATUS_DEFAULT = "default";
    // 黑色
    public static  final String STATUS_BLACK = "black";

    /**
     * Intent 跳转 key
     */
    //用户裁剪之后的头像
    public static final String SIMPLE_USER_ICON = "simpleUserIcon";
    //学年学期
    public static  final String XNXQ = "xnxq";
    //上课周次
    public static  final String SKZC = "skzc";
    //评价理由
    public static  final String PJLY = "pjly";
    //上课地点
    public static  final String SZDD = "szdd";
    //评价状态
    public static  final String PJSTYLE = "pjStyle";
    //周、日、课程表 序列化 实体类
    public static  final String SCHEDULE_WEEK_BEAN = "scheduleWeekBean";
    //评价 包装类
    public static  final String EVALUATE_JSON_PACK = "evaluateJsonPack";
    //评价 分数集合类
    public static  final String EVALUATE_PJFS = "evaluatePJFS";
    //首页：校内动态 + 奖惩：奖惩资助 实体类
    public static  final String IMAGE_TEXT_BEAN = "imageTextBean";
    //首页 学院概况
    public static  final String COLLEGE_SURVEY_BEAN = "collegeSurveyBean";
    //WebView 所需 key 值
    public static  final String WEB_METHOD = "webMethod";     //方法名
    public static  final String WEB_ID = "webID";             //id
    public static  final String WEB_TITLE = "webTitle";       //标题

    /**
     *  WebView 方法名称 key
     */
    public static  final String WEB_NAME_CAROUSEL = "txt_pic_info.aspx";     //首页：轮播图
    public static  final String WEB_COLLEGE_SURVEY = "NativeInfoWeb.aspx";   //首页：学院概况
    public static  final String WEB_NAME_NOTICE = "PushMessage.aspx";        //首页：通知公告
    public static  final String WEB_DYNAMIC_NOTICE = "txt_pic_info.aspx";    //首页：校内动态
    public static  final String WEB_SUPPORT = "JCZZ_Detial.aspx";            //奖惩：奖惩资助
    public static  final String WEB_PARTY_MSG = "SZ_DJ_TJ_Detial.aspx";      //思政：团·党建信息

    /***
     * 课程表 集合  Key
     */

    //课程表 星期
    public static final String MON="1";
    public static final String TUE="2";
    public static final String WED="3";
    public static final String THU="4";
    public static final String FRI="5";
    public static final String SAT="6";
    public static final String SUN="7";

    //课程表 节次
    public static final String ONE="0102";
    public static final String TWO="0304";
    public static final String THREE="0506";
    public static final String FOUR="0708";
    public static final String FIVE="0910";
    public static final String SIX="1112";


    /**
     * 评价类型
     */
    public static final String STPJ = "1";      //随堂评价
    public static final String QZPJ = "2";      //期中评价
    public static final String QMPJ = "3";      //期末评价

    /**
     * 用户身份
     */
    public static final String IDENTITY_NEWBORN = "新生";      //新生
    public static final String IDENTITY_STUDENT = "在校生";    //在校生
    /**
     * 课程签到
     */
    public static final String SIGN_NO =   "未签到";      //未签到
    public static final String SIGN_YES =  "正常签到";    //正常签到
    public static final String SIGN_LATE = "迟到";        //迟到
    /**
     * 奖惩资助：奖惩类型
     */
    public static final String SUPPORT_SCHOLARSHIP = "奖学金";      //奖学金
    public static final String SUPPORT_A_GRANT = "助学金";          //助学金
    public static final String SUPPORT_PUNISHMENT = "惩罚公告";     //惩罚公告
    /**
     * 奖惩：我的申请状态
     */
    public static final String SUPPORT_MY_WAIT = "0";           //待审核
    public static final String SUPPORT_MY_COLLEGE_NO = "1";     //学院拒绝
    public static final String SUPPORT_MY_COLLEGE_YES = "2";    //学院通过
    public static final String SUPPORT_MY_SCHOOL_NO = "3";      //学校拒绝
    public static final String SUPPORT_MY_SCHOOL_YUS = "4";     //学校通过

    /**
     * 刷新页面
     */
    public static final String SCHEDULE_DAY_REFRESH = "dayRefresh";      //日课表
    public static final String SCHEDULE_WEEK_REFRESH = "weekRefresh";    //周课表
    public static final String STAGE_SEE_REFRESH = "stageSeeRefresh";    //刷新 阶段评价列表数据

    /**
     * 通知 退出 某一个页面
     */
    public static final String EXIT_MAIN = "exitMain";      //MainActivity --> exit
}
